package com.nimitz.project.service;

import com.nimitz.project.domain.ProjectFactory;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface ProjectFactoryService {
    void addProject(ProjectFactory project);
    void updateProjectState(ProjectFactory project);
    List<ProjectFactory> getProjectsByArea(@RequestParam("areId") Long areaId);
    List<ProjectFactory> selectById(Long id);
    List<ProjectFactory> getAllProjects();
}
